WpMatomo\Admin\SystemReport D

Total Complexity 299
Dependencies 34
Dependents 3
Total lines 1,929
Lines of code 1,583
Logical lines of code 697
Comment lines 82
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
get_matomo_info()
D
8
75 440
get_server_info()
C
26
23 166
get_plugins_info()
C
30 25 118
execute_troubleshoot_if_needed()
C
34 24 83
get_db_info()
B
31 17 123
get_wordpress_info()
B
29 15 146
check_file_exists_and_writable()
A
51 11 23
get_db_grants()
A
45 9 41
replace_hexadecimal_colors()
A
49 9 31
get_browser_info()
A
46 8 40
add_diagnostic_results()
A
49 8 29
check_wp_can_be_loaded_in_php_cli()
S
46 6 41
errors_present()
S
55 6 19
convert_time_to_date()
S
55 6 17
has_only_warnings_no_error()
S
59 6 15
get_phpcli_info()
S
48 4 36
add_errors_first()
S
57 5 18
get_actives_plugins()
S
57 5 16
had_visits_in_last_days()
S
53 4 22
show()
S
54 4 21
get_error_tables()
S
47 2 44
get_num_entries_in_table()
S
59 4 14
find_wp_load_path()
S
62 4 11
get_num_matomo_tables()
S
59 3 14
get_abs_path_to_plugin()
S
66 3 9
get_php_cli_binary()
S
67 3 8
add_maxminddb_row()
S
64 3 8
get_phpcli_output()
S
68 3 7
get_missing_tables()
S
60 2 13
get_not_compatible_plugins()
S
82 1 3
__construct()
S
68 1 7